#pragma once

#define PAN_CONFIG                  _T("atom_config")

// Poke function id
enum {
    PFI_CONFIG          = 200,

    // Param = PPSetConfig *, IOParam = bool
    PFI_SET_CONFIG,

    // Param = PPSetConfig *, IOParam = bool
    PFI_GET_CONFIG,

    // Param = PokeConfigCursor *, IOParam = bool
    PFI_GET_CONFIG_CURSOR,

    // Param = bool, IOParam = bool
    PFI_USE_PREV_CONFIG,

    // Param = bool, IOParam = bool
    PFI_USE_NEXT_CONFIG,
};

struct PokeConfig {
    HWND hWindow;
    int nPokeX;
    int nPokeY;
    int nAutoRefreshInterval;
};

struct PokeConfigCursor {
    size_t m_nNowPos;
    size_t m_nConfigNum;
};